package com.itboy.message.email.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;


/**
 * 发送邮件时，接收参数的类 msg_email_config
 *
 * @author gssong
 * @date 2021-07-09
 */
@Data
@ApiModel("发送邮件时，接收参数的类")
public class MsgEmailConfigVo {

	private static final long serialVersionUID = 1L;

	/** 收件人，支持多个收件人 */
	@NotEmpty
	@ApiModelProperty("收件人")
	private List<String> tos;

	@NotBlank
	@ApiModelProperty("主题")
	private String subject;

	@NotBlank
	@ApiModelProperty("内容")
	private String content;

}
